//==========================================================================
// Copyright (c) 2000-2008,  Elastos, Inc.  All Rights Reserved.
//==========================================================================

#ifndef __ELASTOS_PIC_H__
#define __ELASTOS_PIC_H__

// Registers' IO address
#define _INTSR      ((ioport_t)0x80000500) // Interrupt Status Register
#define _INTRSR     ((ioport_t)0x80000504) // Interrupt Raw Status Register
#define _INTENS     ((ioport_t)0x80000508) // Interrupt Enable Set Register
#define _INTENC     ((ioport_t)0x8000050c) // Interrupt Enable Clear Register

// End-of-Interrupt Registers
#define _TCEOI1     ((ioport_t)0x80000c0c)
#define _TCEOI2     ((ioport_t)0x80000c2c)
#define _TCEOI3     ((ioport_t)0x80000c8c)

#endif // __ELASTOS_PIC_H__
